<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.dealinga.shared.Deal" %>


<%!
Deal deal = new Deal();
%>

<%
deal.discountPercent = "10";
deal.priceFinal = "100";
deal.title = "Wonderful 2-hour boat trip around London";
deal.text = "in a luxurious boat with a glass roof.";
deal.urlImage = "./dealinga_files/hotel.jpg";
deal.urlDetailNormal = "";

%>


<div id="Deal" class="deal">
	  	<span id="discountPercent" class="discount"><%= deal.discountPercent %>%</span>
	  	<span id="priceFinal" class="price"><%= deal.priceFinal %>€</span>
	  	<a id="urlDetailNormal" href="<%= deal.urlDetailNormal %>">
	  		<img id="urlImage" alt="" src="<%= deal.urlImage %>">
	  	</a>
	  	<h3>
	  		<a id="urlDetailNormal" href="<%= deal.urlDetailNormal %>"><%= deal.title %></a>
	  	</h3>
	  	<p id="text"><%= deal.text %></p>
	  	<p style="text-align: right">
	  		<a id="urlDetailNormal" class="Button Highlight" href="<%= deal.urlDetailNormal %>">Show deal</a>
	  	</p>
</div>	